package main

import "fmt"

var g int = 100

func test() {
	var x int = 5
	fmt.Println(x) // ok
}

func main() {
	var local int = 10
	fmt.Println(g)     // ok
	fmt.Println(local) // ok
	fmt.Println(x)     // not ok
}
